using System;
using System.Collections.Generic;
namespace AppToolKit.Data
{
	public class DbSchema
	{
		public class ColumnSchema
		{
			private string name_;
			private Type dbType_;
			private int len_;
			public string Name
			{
				get
				{
					return this.name_;
				}
				set
				{
					this.name_ = value;
				}
			}
			public Type DbType
			{
				get
				{
					return this.dbType_;
				}
				set
				{
					this.dbType_ = value;
				}
			}
			public int Length
			{
				get
				{
					return this.len_;
				}
				set
				{
					this.len_ = value;
				}
			}
		}
		private Dictionary<string, DbSchema.ColumnSchema> columns_;
		public Dictionary<string, DbSchema.ColumnSchema> Columns
		{
			get
			{
				if (this.columns_ == null)
				{
					this.columns_ = new Dictionary<string, DbSchema.ColumnSchema>();
				}
				return this.columns_;
			}
			set
			{
				this.columns_ = value;
			}
		}
	}
}
